package com.ruoyi.user.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 用户会话记录对象 t_user_conversation_record
 * 
 * @author DEREK
 * @date 2024-01-15
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_conversation_record")
public class UserConversationRecord
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 发起人ID */
    @Excel(name = "发起人ID")
    private Long launchUserId;

    /** 回复人ID */
    @Excel(name = "回复人ID")
    private Long replyUserId;

    private Date createTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("launchUserId", getLaunchUserId())
            .append("replyUserId", getReplyUserId())
            .toString();
    }
}
